﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Student
    {
        public string Name { get; set; }
        public int Age { get; set; }
        public int Number { get; set; }

        public Student(string name, int age, int number)
        {
            Name = name;
            Age = age;
            Number = number;
        }
        public Student() { }

        public override string ToString()
        {
            return $"姓名{Name},年龄{Age}，学号{Number}";
        }

       
    }
}
